package daoInterface;
import java.sql.SQLException;

import dto.Card;
public interface CardDao
{
public void add (Card card) throws SQLException, Exception;
public void update (Card card) throws SQLException, Exception;
public void delete (Card card) throws SQLException, Exception;
public Card retrieve(String ConditionField, String ConditionValue) throws SQLException, Exception;
public Card[] retrieveArray(String ConditionField, String ConditionValue) throws SQLException, Exception;
public Card[] retrieveAll() throws SQLException, Exception;
public int getAutoGenratedKey();

}
